<div id="login">
<table align="center" cellspacing="0" cellpadding="0" class="tbLogin">
<tr>
	<td width="100" style="vertical-align:top"><img src="{$this->data['baseurl']}images/admin/login.png" /></td>
	<td>
		<table cellspacing="0" border="0">
			<tr>
				<td width="80">用户名：</td>
				<td><input type="text" id="txtUsername" style="width:150px" /></td>
			</tr>
			<tr><td>密  码：</td><td><input type="password" id="txtPassword" style="width:150px" /></td></tr>
			<tr><td>&nbsp;</td><td style="padding-top:10px"><input type="button" onclick="doLogin()" value="登录" /></td></tr>
			<tr><td>&nbsp;</td><td><span class="spInfo" id="spLoginInfo"></span><input type="hidden" id="hdLoginUrl" value="{url('Default','DoLogin')}" /></td></tr>
		</table>
	</td>
</tr>
</table>
</div>
<script language="javascript">
document.onkeydown=function(event)
{
	if(event==null)
	{
		event	= window.event;
	}
	if(event.keyCode==13) 
	{ 
		doLogin();
	} 
}
</script>